This is just copying what we do for scrolled windows.
It will need some tweaks to look good for entries.
&.right { padding-left: 6px; padding-right: 0; }
}
+ undershoot {
+ &.left { @include undershoot(left); }
+ &.right { @include undershoot(right); }
+ }
+
border-radius: 3px;
transition: all 200ms $ease-out-quad;
@include entry(normal);
entry image.right, spinbutton image.right {
padding-left: 6px;
padding-right: 0; }
+ entry undershoot.left, spinbutton undershoot.left {
+ background-color: transparent;
+ background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-left: 1px;
+ background-size: 1px 10px;
+ background-repeat: repeat-y;
+ background-origin: content-box;
+ background-position: left center;
+ border: none;
+ box-shadow: none; }
+ entry undershoot.right, spinbutton undershoot.right {
+ background-color: transparent;
+ background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-right: 1px;
+ background-size: 1px 10px;
+ background-repeat: repeat-y;
+ background-origin: content-box;
+ background-position: right center;
+ border: none;
+ box-shadow: none; }
entry.flat, spinbutton.flat, entry.flat:focus, spinbutton.flat:focus {
padding: 2px;
background-color: #292929;
entry image.right, spinbutton image.right {
padding-left: 6px;
padding-right: 0; }
+ entry undershoot.left, spinbutton undershoot.left {
+ background-color: transparent;
+ background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-left: 1px;
+ background-size: 1px 10px;
+ background-repeat: repeat-y;
+ background-origin: content-box;
+ background-position: left center;
+ border: none;
+ box-shadow: none; }
+ entry undershoot.right, spinbutton undershoot.right {
+ background-color: transparent;
+ background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
+ padding-right: 1px;
+ background-size: 1px 10px;
+ background-repeat: repeat-y;
+ background-origin: content-box;
+ background-position: right center;
+ border: none;
+ box-shadow: none; }
entry.flat, spinbutton.flat, entry.flat:focus, spinbutton.flat:focus {
padding: 2px;
background-color: #ffffff;